package com.hqyj.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table
public class OrderItem {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    private Integer orderId;

    private Integer productId;

    private Integer userId;

    private Integer total;

    private Integer number;

    private Integer status;





}